package iface

type IMessagePack interface {
	//获取包头长度
	GetHeadLen() uint32
	//封包
	Pack(msg IMessage) ([]byte, error)
	//解包
	UnPack([]byte) (IMessage, error)
}
